/*
 * OpenObjectAction.java
 *
 * Created on 14. Dezember 2001, 20:19
 */

package org.medbeans.modules.actions;


import java.awt.event.ActionEvent;
//import org.argouml.ui.Actions;
//import org.argouml.ui.ArgoAction;
import org.openide.util.HelpCtx;
import org.openide.util.NbBundle;
import org.openide.util.actions.CallableSystemAction;

import com.surveycom.sdj.Named;

/**
 *
 * @author  Werner Keil
 */
class OpenObjectAction extends CallableSystemAction implements Named
{

    public String getName()
    {
        //return "Open Project";        
        return NbBundle.getBundle (OpenObjectAction.class).getString ("LBL_OpenObjectAction");
    }

    protected String iconResource()
    {
        return "/org/medbeans/resources/OpenObject.gif";
    }

    public HelpCtx getHelpCtx()
    {
       // return new HelpCtx(class$Lorg$argouml$modules$moduleActions$ArgoNewAction == null ? (class$Lorg$argouml$modules$moduleActions$ArgoNewAction = class$("org.argouml.modules.moduleActions.ArgoNewAction")) : class$Lorg$argouml$modules$moduleActions$ArgoNewAction);
       
        // In a real situation could map to installed JavaHelp...
        return HelpCtx.DEFAULT_HELP;
    }

    public void performAction()
    {
    }

    public void actionPerformed(ActionEvent actionevent)
    {
       /* ArgoAction argoaction = Actions.OpenProject;
        argoaction.actionPerformed(actionevent);
        */
    }

/*    static Class class$(String s)
    {
        try
        {
            return Class.forName(s);
        }
        catch(ClassNotFoundException classnotfoundexception)
        {
            throw new NoClassDefFoundError(classnotfoundexception.getMessage());
        }
    }
*/
    OpenObjectAction()
    {
    }

    private static Class class$Lorg$medbeans$modules$ctions$OpenObjectAction; /* synthetic field */
}